package de.uni_saarland.coli.doclists.data.btree;

/**
 * 
 * @author stefan
 * 
 *         This class stores information about the spliting of b tree nodes.
 * @param <T>
 */
public class SplitData<T> {
	private INode<T> left;
	private INode<T> right;
	private int key;

	public SplitData() {
		left = null;
		right = null;
		key = Integer.MAX_VALUE;
	}

	public INode<T> getLeft() {
		return left;
	}

	public void setLeft(INode<T> left) {
		this.left = left;
	}

	public INode<T> getRight() {
		return right;
	}

	public void setRight(INode<T> right) {
		this.right = right;
	}

	public int getKey() {
		return key;
	}

	public void setKey(int key) {
		this.key = key;
	}

}
